package com.study.signin_demo2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author whx
 * @date 2022/2/21
 */
@Data
public class Products implements Serializable {

    @TableId(value = "id",type= IdType.ASSIGN_ID)
    private Long id;
    private Long orderId;
    private String no;
    private String type;
    private BigDecimal quantity;
    private BigDecimal price;
    private BigDecimal amount;


}
